﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.IO;

namespace Prism.Core.Storage
{
    public interface IDataLoader
    {
        Stream GetDataStream(string accessName);
        Stream GetDataStream(string accessName, Version version);
    }

    public interface IDataSaver
    {
        void AddData(string accessName, Stream stream);
        void AddData(string accessName, Stream stream, Version version);
    }

    public interface IGroupDataSaver
    {
        void AddData(string accessName, Stream stream, Group group);
        void AddData(string accessName, Stream stream, Version version, Group group);
    }
}
